package org.jason.model.user.dtos;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;

@ApiModel("修改个人信息")
@Data
public class EditPersonalInfoDto {
    @ApiModelProperty(value = "昵称")
    private String nickname;

    @ApiModelProperty(value = "性别0男1女2保密")
    @Min(0)
    @Max(2)
    private Integer sex;

    @ApiModelProperty(value = "个人简介")
    private String introduce;
}
